package com.firmail.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller 

public class UserController {  

 

    //@Resource
    //private UserService userService;

 

    @RequestMapping("/")    

    public ModelAndView getIndex(){      

        ModelAndView mav = new ModelAndView("index");   

        //User user = userService.selectUserById(2);

        //mav.addObject("user", user);

        return mav;    

    }    

}

